package demo1;

public class Card {
    public String suit;//花色
    public int age;//数字

    public Card(String suit, int age) {
        this.suit = suit;
        this.age = age;
    }

    @Override
    public String toString() {
//        return "Card{" +
//                "suit='" + suit + '\'' +
//                ", age=" + age +
//                '}';
        return this.suit+""+this.age;
    }
}
